#ifndef LIGHTNING_H
#define LIGHTNING_H

#include <string>
#include "cg/cg.h"

namespace PeanutQuest {
	class Lightning : public cg::Entity,
		public cg::IDrawListener,
		public cg::IUpdateListener
	{
	private:
		bool _isDebug;
		int _lightDL;
		void makeLight();

	public:
		Lightning(std::string id);
		~Lightning();
		void init();
		void update(unsigned long elapsed_millis);
		void draw();

		void toggleDebugMode();
	};
}

#endif